package com.itwhy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itwhy.domain.dto.PageDTO;
import com.itwhy.domain.po.User;
import com.itwhy.domain.query.UserQuery;
import com.itwhy.domain.vo.UserVO;

import java.util.List;

public interface UserService extends IService<User> {
    void updateBalanceById(Long id, Integer money);
    List<User> queryUsers(UserQuery userQuery);
    UserVO queryUserAndAddressById(Long id);
    List<UserVO> queryUserAndAddressByIds(List<Long> ids);

    PageDTO<UserVO> queryUsersPage(UserQuery userQuery);
}
